<link rel="stylesheet" type="text/css" href="assets/bootstrap-datepicker/css/datepicker.css" />
<aside class="lg-side">
  <div class="panel-heading tab-bg-dark-navy-blue okr-tab-head tab-right "></div>
    <!--state overview end-->
  <div class="inbox-body mi-h8">
    <form>
    <div class="row">
      <div class="col-lg-12">
        <section class="panel">
          <header class="panel-heading">
            需求信息
          </header>
          <div class="panel-body bio-graph-info">
           
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">所属公司</label>
                <div class="col-sm-10">
                  <select name="compId" id="companys" class="form-control" onchange="findDept()">
                    <option value="">请选择</option>
                  </select>
                </div>
              </div>

              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">所属部门</label>
                <div class="col-sm-10">
                  <select class="form-control" name="deptId" id="department">
                    <option value="">请选择</option>
                  </select>
                </div>
              </div>

              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">需求优先级</label>
                <div class="col-sm-10">
                  <select class="form-control" name="dmLevel">
                    <option value="0">请选择</option>
                    <option value="3">高</option>
                    <option value="2">中</option>
                    <option value="1">低</option>
                  </select>
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">期望交付时间</label>
                <div class="col-sm-10">
                  <input type="text" id="datetime-1" class="form-control" name="deliverDate">
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">需求场景描述</label>
                <div class="col-sm-10">
                  <textarea class="form-control" maxlength="120" name="dmDesc"></textarea>
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">需求不实现产生的风险和问题</label>
                <div class="col-sm-10">
                  <textarea class="form-control" maxlength="120" name="riskRating"></textarea>
                </div>
              </div>
              <input type="hidden" value="0" id="isUpload" name="isUpload"/>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">需求文件</label>
                <div class="col-sm-10">
                  <a class="update-icon" onclick="showfile();">上传需求文件</a>
                </div>
              </div>
            
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">审批领导</label>
              <div class="col-sm-10">
                <input type="text" id="autocomplete" class="form-control">
                <input type="hidden" value="" name="userId" id="userId"/>
              </div>
            </div>
            <p class="default-buttons">
              <a href="javascript:void(0);" class="button-back btn btn-info" onclick="toBack()">返回</a>
              <a href="javascript:void(0);" class="button-next  btn btn-info submit">提交需求申请</a>
            </p>
          </div>
        </section>
        <section class="panel hidefile" style="display: none;">
          <header class="panel-heading">
            文件上传
          </header>
          <div class="panel-body bio-graph-info">
           
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">文件密级</label>
                <div class="col-sm-10">
                  <select class="form-control">
                    <option>请选择</option>
                    <option>内部保密</option>
                    <option>内部公开</option>
                    <option>完全公开</option>
                  </select>
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">使用范围</label>
                <div class="col-sm-10">
                  <select class="form-control">
                    <option>请选择</option>
                    <option>公司内部</option>
                    <option>公开信息</option>
                  </select>
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">文件有效期</label>
                <div class="col-sm-10">
                  <input id="datetime" type="text" value="" class="form-control">
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">文件权限</label>
                <div class="col-sm-10">
                  <select class="form-control">
                    <option>请选择</option>
                    <option>总经理</option>
                    <option>总监</option>
                    <option>本部门</option>
                  </select>
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">纸质文件保管地</label>
                <div class="col-sm-10">
                  <input type="text" class="form-control">
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">纸质文件负责人</label>
                <div class="col-sm-10">
                  <input type="text" class="form-control">
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">文件上传</label>
                <div class="col-sm-10">
                  <input type="file" class="form-control input-file">
                </div>
              </div>
           
            <p class="default-buttons">
              <a href="javascript:void(0);" class="button-back btn btn-info">清空</a>
              <a href="javascript:void(0);" class="button-next  btn btn-info" onclick="hidefile();">取消</a>
            </p>
          </div>
        </section>
      </div>
    </div>
    </form>
  </div>
</aside>
<script type="text/javascript" src="assets/bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
<script type="text/javascript" src="js/autocomplete/jquery.autocomplete.js"></script>
<script>
    //时间控件
    $('#datetime').datepicker({
        format: 'yyyy-mm-dd'
    });
    $('#datetime-1').datepicker({
        format: 'yyyy-mm-dd'
    });
</script>
<script src="js/proinfo/proProblem.js"></script>